/**
 *统计：每日新增记录柱状图配置
 */
export const newRecordOptions = {
  title: {
    text: '每日新增资产',
    textStyle: {
      fontWeight: 400,
      fontSize: 16
    },
    subtext: '范围：本月   颗粒度：天',
    subtextStyle: {
      fontSize: 14,
      color: '#666'
    },
    padding: [5, 20]
  },
  color: ['#018CFE'],
  tooltip: {
    trigger: 'axis',
    axisPointer: { // 坐标轴指示器，坐标轴触发有效
      type: 'shadow' //  默认为直线，可选为：'line' | 'shadow'
    }
  },
  legend: {
    x: 'left',
    left: '10%',
    top: '15%',
    textStyle: {
      color: '#666',
      fontSize: 14
    },
    itemWidth: 10,
    itemHeight: 10,
    data: ['记录数量']
  },
  grid: {
    left: '10%',
    right: '10%',
    top: '25%',
    bottom: '15%',
    containLabel: true
  },
  xAxis: [
    {
      type: 'category',
      data:['09/04','09/09','09/14','09/24'],
      axisLine: {
        show: false
      },
      axisTick: {
        show: false
      },
      name: '创建时间',
      nameLocation: 'center',
      nameTextStyle: {
        fontSize: 14,
        color: '#333',
        padding: 30
      }
    }
  ],
  yAxis: [
    {
      type: 'value',
      axisLine: {
        show: false
      },
      axisTick: {
        show: false
      }
    }
  ],
  series: [
    {
      name: '记录数量',
      type: 'bar',
      barWidth: 24,
      data: [1, 3, 1, 1]
    }
  ]
}
